----------------------------------Spell Variables--------------------------------------
SPELL.m_iSpellID = 501234 -- Whatever value you want as long as it doesn't override any other spells' IDs.
SPELL.m_iRange = 240
SPELL.m_sName = "Striding Leap"
SPELL.m_sToolTip = [[Vault forwards, dealing
					damage based on your velocity
					where you land.]]
SPELL.m_sIcon = "devin/blackbetty/spells/brawler/quickslideback.png"
SPELL.m_iCoolDown = 12
SPELL.m_iManaCost = 30
SPELL.m_bRequiresTarget = false
SPELL.m_iSpellType = SPELLTYPE_HYBRID
SPELL.m_bRecastWhileCasting = false

---------------------------------------------------------------------------------------

local range = 100
local weapondamage = 20

function SPELL:Cast( pl, target )
	print("Casted "..self.m_sName.."!")
	pl:DoAnimationEvent(ACT_OVERLAY_SHIELD_UP)
	timer.Create( "leaptimer", 0.61, 1, function() pl.ImpactScale = true pl.Impact = true pl:SetNWBool("Casting", false)
			pl:SetNWBool("Casted", false) end)
	pl:EmitSound("devin/blackbetty/weapons/Warrior_BloodBath.wav", 150, 100)
	pl:EmitSound("devin/blackbetty/player/male/jump"..math.random(1, 4)..".wav", 150, 100)
	pl:SetVelocity((Vector(0,0,0.1)*3000)+(pl:GetAngles():Forward() * 500))
	
end



